package com.lpf;

class DB {

    public DB() {
        System.out.println("DB构造方法:无参数");
    }

    public DB(String name) {
        System.out.println("DB构造方法:" + name);
    }

    public String hello(String name) {
        System.out.println("DB.hello()方法:" + name);
        return "DB.hello()方法返回值";
    }

}